﻿namespace HelenServer.UserCenter.Contracts;

public interface IDepartmentService
{
    Task<OperationResult<int>> AddAsync(Operation<DepartmentCreateModel> operation, CancellationToken cancellationToken);

    Task<OperationResult<int>> AddRangeAsync(Operation<IEnumerable<DepartmentCreateModel>> operation, CancellationToken cancellationToken);
    
    Task<OperationResult<int>> AddIdentityRangeAsync(Operation<IEnumerable<DepartmentCreateModel>> operation, CancellationToken cancellationToken);
}